package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.Supplier;
import com.weixing.mall.provider.model.vo.SupplierVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品模块-供应商 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface SupplierMapper extends BaseMapper<Supplier> {
    IPage<SupplierVo> selectList(@Param("pg") Page page, String supplierName);

    void delAll(int[] emp);

    List<SupplierVo> selectAll(@Param("enable") Integer enable);
}
